package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * 分销绑定规则(DistributionBindRule)表实体类
 *
 * @author makejava
 * @since 2022-09-14 09:59:13
 */
@Data
public class DistributionBindRule implements Serializable {
    private static final long serialVersionUID = 3309926175085559173L;
    //id
    private Long id;
    //是否产生绑定 1临时绑定 2绑定后x天后失效
    private Integer bind;
    //绑定天数
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer bindTime;
    //是否允许抢客 1允许 2不允许
    private Integer replaceBind;
    //商户id
    private Long merchantId;

}

